package org.example.entity;

import lombok.Data;

@Data
public class Record {
    public Record(String operator) {
        this.infos = new Info[4];
        infos[0] = new Info();
        infos[1] = new Info();
        infos[2] = new Info();
        infos[3] = new Info();
        this.operator = operator;
        this.income = 0d;
    }

    //操作员*
    private String operator;
    //不同订单种类的信息
    private Info[] infos;
    //收入
    private Double income;
}